package com.wfx.service.impl;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wfx.entity.WxbCustomer;
import com.wfx.mapper.WxbCustomerMapper;
import com.wfx.service.IWxbCustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zhu
 * @since 2021-01-23
 */
@Service
public class WxbCustomerServiceImpl extends ServiceImpl<WxbCustomerMapper, WxbCustomer> implements IWxbCustomerService {

    @Autowired
    private WxbCustomerMapper wxbCustomerMapper;
    @Override
    public List<WxbCustomer> findAll() {
        QueryWrapper<WxbCustomer> wrapper = new QueryWrapper<>();
        List<WxbCustomer> wxbCustomers = wxbCustomerMapper.selectList(wrapper);
        return wxbCustomers;
    }
}
